#ifndef PLAYER_H
#define PLAYER_H

#include <vector>

#include "Bullet.h"
#include "Entity.h"


class Player : public Entity
{
	public:
		bool moveLeft;
		bool moveRight;

		bool fire;
		int shotTicks;
		int shotCooldown;
		std::vector<Bullet> bulletList;
	
	public:
		Player();
		~Player();
		
	public:
		bool init(char *file, EntityType eT);
		void input(SDL_Event *event);
		void loop();
		void move(float moveX);
		void stop_move();
		void create_bullet();
		void shoot();
};

#endif
